{% extends "default.html" %}

{% load i18n %}
{% load jalali_view %}

{% block title %} {% trans "Ad" %}: {{ object.title }} {% endblock %}
{% block page_title %} {% trans "Ad" %}: {{ object.title }} {% endblock %}

{% block page_content %}

{% if error|length > 0 %}
<div style="color: red">{{ error }}</div>
{% endif %}

<div>
	{% include "ad/ad_display.html" %}

	<br class="clear" />

	<div>
		<form action="/ads/register/confirm/" method="post">
			{% csrf_token %}
			{% include "security/recaptcha.html" %}
			<br class="clear"/>
			<div class="form_buttons">
				<input type="submit" value='{% trans "I Approve" %}' class="form_button" />
				<input type="submit" value='{% trans "I Dont Approve" %}'  class="form_button" />
			</div>
		</form>
	</div>

</div>



{% endblock page_content %}
